﻿using Furion.ConfigurableOptions;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Furion.CMS.Web.Core
{
    /// <summary>
    /// CMS应用配置选项
    /// </summary>
    public class CMSSettingsOptions : IConfigurableOptions
    {
        /// <summary>
        /// 启用https跳转
        /// </summary>
        public bool EnabledHttpsRedirection { get; set; }
        /// <summary>
        /// 是否启用Spa集成应用
        /// </summary>
        public bool EnabledSpaIntegration { get; set; }
        /// <summary>
        /// 是否启用服务端渲染
        /// <para>
        /// 当 EnabledSpaIntegration 为"true"时才会生效
        /// </para>
        /// </summary>
        public bool EnabledServerRender { get; set; }
        /// <summary>
        /// 单页面资源配置
        /// </summary>
        public SpaStaticSetting SpaStatic { get; set; }
    }
}
